<?php echo "Ngay/Tuan/Thang;San;So luong dat;Dat thanh cong;Qua han;Huy;Tong so tien\r\n"?>
<?php
	$total = 0;
	foreach ($pager->getResults() as $report) {
		echo $report->date.";".$report->orders_count.";".$report->DtGround->name.";".$report->success_orders_count.";".$report->auto_rejected_orders_count.";".$report->manual_rejected_orders_count.";".$report->total_amount_count."\r\n";
	$total += $report->total_amount_count;
	}
	echo "Tong so tien;".$total;
?>